WP_SMS\Helper B

Total Complexity 76
Dependencies 7
Dependents 35
Total lines 506
Lines of code 278
Logical lines of code 151
Comment lines 116
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
checkMobileNumberValidity()
B
41 19 48
getWooCommerceCustomerNumberByOrderId()
A
54 8 20
getWooCommerceCustomersNumbers()
S
45 5 42
getUsersMobileNumbers()
S
50 5 29
prepareMobileNumberQuery()
S
57 4 16
prepareMobileNumber()
S
65 5 8
normalizeNumber()
S
61 4 11
loadTemplate()
S
61 3 13
maybeStartSession()
S
72 3 5
getUserByPhoneNumber()
S
63 3 10
notice()
S
61 2 13
getWooCommerceCheckoutFieldName()
S
69 2 6
flashNotice()
S
64 2 10
getListOfRoles()
S
64 2 10
sendMail()
S
69 1 6
getPluginAssetUrl()
S
78 1 3
sanitizeMobileNumber()
S
78 1 3
getCurrentAdminPageUrl()
S
73 1 4
isJson()
S
75 1 4
getAssetPath()
S
78 1 3
getUserMobileNumberByUserId()
S
74 1 4
getUserMobileFieldName()
S
75 1 4
makeUrlsShorter()
S
70 1 6